package com.tonann.app.conf;

import com.tonann.app.domain.AppSensorRecordHour;
import com.tonann.app.mapper.AppSensorRecordHourMapper;
import com.tonann.app.mapper.AppSensorRecordMapper;
import com.tonann.app.mapper.BaseMapper;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;
import java.util.concurrent.CountDownLatch;

public interface AsyncService<T> {
    public int startMultiThread(List<T> list, BaseMapper<T> baseMapper);

    List<T> getPage(int page, int pageSize, BaseMapper<T> recordMapper);
}
